<!DOCTYPE html>
<html>
<head>
<title>🈲-止-转-发</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"/>

<!--<script type="text/javascript" src="http://yongshun.liuwenqiu.cn/static/admin/js/jquery.min.js?v=2.1.4" ></script>-->
 <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.js"></script>

<link href="http://yongshun.liuwenqiu.cn/static/index/weui.min.css" rel="stylesheet">

<link href="http://yongshun.liuwenqiu.cn/static/index/jquery-weui.css" rel="stylesheet" >





<style>


html{cursor:pointer;}

li{ list-style-type:none;}


  
.login_coty{ margin:0 auto; width:98%;;  line-height:20px; font-size:12px;padding-top:2%; }



@media screen and (max-width:900px) {

a {
  text-decoration:none;
    color: #fff;
}

  p {
        margin: 0;padding: 0;
    }
    .top_menu_list{
      margin-top: 0px;
      text-align: center;
      background-image: linear-gradient(to right ,#5900ff,#CC00FF);
      padding-bottom: 5px;
      border-radius: 0px 0px 5px 5px;
    }
    /*.top_menu_list a{*/
    /*  text-align: center;*/
      /*margin-left: 11px;*/
    /*  margin-top: 5px;*/
    /*  color: #fff;*/
    /*}*/
    .btn.cur {
      background: #FFFF00;
      color:#b14240;
    }
    .btns {
   
      width: auto;
      border: none;
      border-radius: 5px;
      float: left;
      display: block;
      overflow: hidden;
      padding: 0 0.4rem;
      line-height: 24px;
      font-size: 17px;
      font-weight:bold;
    }
    
    .fenlei{
        width: auto;
    }
    
    .fenlei a{
        width: auto;
        display: block;
        font-size: 16px;
        margin-top: 3px;
        float: left;
        width: 14%;
        -webkit-border-radius: .5em;
        font-weight:bold;
    }
   
    li .cover {
      border-radius: 6px;
    }
    li .tag {
      background-image: linear-gradient(to right , #5900ff,#CC00FF);
      font-size: 11px;
      padding: 0px 10px;
      border-radius: 5px;
      display: block;
      text-align: center;
      color: #FFF;
      line-height: 14px;
    }
    #dg .item{
      line-height: 34px;
      height: 34px;
      padding: 0 10 0 10;
      margin: 0 10px;
      text-align: center;
      display: block;
      /*color: #FFF;*/
    }
    .clamp-2 {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    /* 弹出 */
    .weui-popup__modal {
      width: 96vw;
      left: 2vw;
      height: 425px;
      top: 15vh;
      border-radius:20px;
      background:rgba(0,0,0,0.3);
    }
    .weui-popup__modal .content { 
      background-size: cover;
      background-position: center;
      width: 100%;
      height: 260px;
      background-repeat: no-repeat;
      background-color: #000;
    }
    .weui-popup__modal #dialog-image {
      width: 100%;
      height: 100%;
    }
     .weui-popup__modal .footers {
      display: flex;
      /*background-color: #fff;*/
      justify-content: space-between;
      flex-wrap: nowrap;
      width: 96vw;
    }
    .weui-popup__modal .footerss {
      display: flex;
      background-color: #fff;
      justify-content: space-between;
      flex-wrap: nowrap;
      width: 96vw;
    }
    
    
    .weui-popup__modal .footer {
      display: flex;
      background-color: #fff;
      justify-content: space-between;
      flex-wrap: nowrap;
    }
    .weui-popup__modal .footer p {
      border-radius: 15px 15px 20px 20px;
      line-height: 50px;
      width: 50%;
      text-align: center;
      font-size: 14px;
      /*border-right: 1px solid #f0f0f0;*/
      color: #222;
      background-color: #f2f2f2;
    }
    .weui-popup__modal .footer #pay {
      color: #fff;
     
    }
    
    .weui-popup__modal .footerss a {
      line-height: 60px;
      width: 50%;
      text-align: center;
      font-size: 14px;
      /*border-right: 1px solid #f0f0f0;*/
      color: #222;
      background-color: #f2f2f2;
      display: block;
    }
    .weui-popup__modal .footerss #pay {
      color: #fff;
      background-image: linear-gradient(to right , #5900ff,#CC00FF);
    }
    .div_1{
        width: 100%;
    }
    
    </style>
 
</head>
<body style="max-width:460px; margin:0 auto;font-weight:bold;">
    
    
{if !empty($tui['url'])}
   <div class="rich_media_content"  id="video" style="width: 100%; height: 160px;border: solid 1px #323136;padding-left:1px;"></div>
{/if}


  <a href="/index/index/tousu?uopenid={$uopenid}" style="position:fixed;display:block;bottom:20%;height:100px;right:8px;width:30px;z-index:999;  background-image: linear-gradient(to right , #5900ff,#CC00FF); border-radius: 5px;text-align:center;color: #FFF;">
       问题反馈
   </a>
  
<!-- <div style="padding: 1px 13px 0px;background-color: #FFF8F5;">-->
<!--</div>-->

    <div class="top_menu_list" style="height: 120px;width:100%">
      
       	<div class="fenlei" style="" id="">
            <a href="javascript:void(0);" data-mid="0" class="btn {:$gettype == 0?'cur':''}" >全部</a>
             <a href="javascript:void(0);" data-mid="38" class="rehuo btn {:$gettype == 38?'cur':''}" >乱伦</a>
            <a href="javascript:void(0);" data-mid="29" class="rehuo btn {:$gettype == 29?'cur':''}" >国产</a>
             <a href="javascript:void(0);" data-mid="34" class="rehuo btn {:$gettype == 34?'cur':''}" >三级</a>
            <a href="javascript:void(0);" data-mid="39" class="rehuo btn {:$gettype == 39?'cur':''}" >幼女</a>
              <a href="javascript:void(0);" data-mid="46" class="rehuo btn {:$gettype == 46?'cur':''}" >人兽</a>
                 <a href="javascript:void(0);" data-mid="33" class="rehuo btn {:$gettype == 33?'cur':''}" >破处</a>
          
          
       	<!--<div class="jiaz" style="display: none;">正在加载中...</div>-->
        </div>
        
        <div class="fenlei" style="" id="">
            
            <a href="javascript:void(0);" data-mid="37" class="btn {:$gettype == 37?'cur':''}" >另类</a>
            <a href="javascript:void(0);" data-mid="35" class="btn {:$gettype == 35?'cur':''}" >巨乳</a>
            <a href="javascript:void(0);" data-mid="49" class="btn {:$gettype == 49?'cur':''}" >约炮</a>
             <a href="javascript:void(0);" data-mid="32" class="btn {:$gettype == 32?'cur':''}" >日韩</a>
             <a href="javascript:void(0);" data-mid="50" class="btn {:$gettype == 50?'cur':''}" >精选</a>
            <a href="javascript:void(0);" data-mid="41" class="rehuo btn {:$gettype == 41?'cur':''}" >强奸</a>
          
            <a href="javascript:void(0);" data-mid="45" class="btn {:$gettype == 45?'cur':''}" >萝莉</a>
        </div>
        <div class="fenlei" style="" id="">
                <a href="javascript:void(0);" data-mid="36" class="btn {:$gettype == 36?'cur':''}" >群交</a>
                <a href="javascript:void(0);" data-mid="42" class="btn {:$gettype == 42?'cur':''}" >人妻</a>
                <a href="javascript:void(0);" data-mid="44" class="btn {:$gettype == 44?'cur':''}" >偷拍</a>
               <a href="javascript:void(0);" data-mid="31" class="btn {:$gettype == 31?'cur':''}" >欧美</a>
                <a href="javascript:void(0);" data-mid="47" class="btn {:$gettype == 47?'cur':''}" >动漫</a>
                <a href="javascript:void(0);" data-mid="48" class="btn {:$gettype == 48?'cur':''}" >野战</a>
                <a href="javascript:void(0);" data-mid="1000" class="btn"  style="color:#b14240;background-color:Yellow">已购</a>
        </div>
       
          <a class="item btn {:$gettype == 0?'cur':''}" href="javascript:void(0);" data-mid="158" style="display:block;float:left;height:35px;width:15%;background-color:Yellow;color:#b14240;font-size: 13px;font-weight: 900;border-radius: 5px;text-align:center;line-height:35px;margin-left:8px">日播放榜</a>
        
         <a class="item btn {:$gettype == 0?'cur':''}" href="javascript:void(0);" data-mid="159" style="display:block;float:left;height:35px;width:15%;background-color:Yellow;color:#b14240;font-size: 13px;font-weight: 900;border-radius: 5px;text-align:center;line-height:35px;margin-left:8px">月播放榜</a>
      
         <input type="text" id = "sousuo" style="top:50%;padding: 8px;border-radius: 7px;border: 1px solid #ccc;width: 160px;font-size: 14px;font-weight: 400;font-family:"Microsoft soft";margin-left:0px;position:absolute;left:0;" placeholder="请输入搜索关键词" name="sousuo" value="" />
        
        <a href="javascript:void(0);" data-mid="1001" class="sousuo" style="padding-left:7px;font-size:13px;">搜索 ▷</a>
       
    </div>

	<div class="login_coty" style="background:#fff;width: 100%;" >
      <ul style="width: 100%; background:#FFFFFF;padding-left:0;margin:0px;display: -webkit-flex; -webkit-flex-wrap: wrap; display: flex; flex-wrap: wrap;" id="article_list">
        
      </ul>
      	<div style="clear: both"></div>
       	<!--<div class="jiaz" style="display: none;">正在加载中...</div>-->
    </div>






<div id="pay_dialog" class="weui-popup__container"  style="z-index:99999">
  <div class="weui-popup__overlay" style="background-color: rgba(0, 0, 0, 0.9)" ></div>
  
  <div class="weui-popup__modal" style="height:520px;top: 10vh;border-radius:0">
    <div class="container">
      <div class="content" id="content" style="border:1px solid #FFFFFF; width: 95.5vw;height: 320px">
          
           <img id="beijing" src="" data-src="" width="100%" height="320"/>
      </div>
       <div class="footers" style="width:100%">
           <p id="name" class="close-popups" style="height:80px;background-color:#474747;color:#FFFFFF;font-size:18px;width:100%;border-radius: 0px 0px 15px 15px;overflow: hidden;"></p>
      </div>
      
      <div class="footer" style="background:rgba(0,0,0,0.9);">
       
        <p id="pay" rel="payButton" style="font-size:22px;background-color:Yellow;color:#e64340; width: 360px;
    margin: auto;height:60px;line-height:60px"></p>
     
      </div>
      
       <div class="footerss" style="">
      
          <a id="cancel" class="close-popup"  href="javascript:void(0);" style="width:100%;font-size:18px;position:absolute;background:rgba(0,0,0,0.2);color:#FFFFFF">取消</a>
     
      </div>
    
         
    </div>
  </div>
</div>






    


 <script type="text/javascript">
 
 
     $(window).scroll(function (event) {
        var wScrollY = window.scrollY; // 当前滚动条位置  
        var wInnerH = window.innerHeight; // 设备窗口的高度（不会变）  
        var bScrollH = document.body.scrollHeight; // 滚动条总高度  
        
          if(heid != null && wScrollY > 200 && wScrollY < 400){
             $(".login_coty").css("padding-top","35%");
             $(".rich_media_content").css("display","none");
             $(".top_menu_list").css("position","fixed");
             $(".top_menu_list").css("z-index","999");
             $(".top_menu_list").css("position","fixed");
         }
         
    });
           
        
            let page = 2;
            var type = 0;
            var flag = 0;
            var lock = 0;
            var userid  = '{$userid}';
            var ddh     = '{$ddh}';
            var uopenid = '{$uopenid}';
            var heid    = "{$tui['url']}";
            var sousuo  = "";
            var url     = "";
            
            var server_name = '{:url("shuju")}';
            var re_url = server_name;
            loadNav();
            
            function loadNav() {
                loadXMLDoc(2, page);
            }
            
            //顶部
            
            function backTop(){
               $(window).scrollTop(0);
            }
            
            //点击图片
           $(document).on('click', ".video-item", function () {
            if(type == 1000){
                let src = $(this).data('src');
                url     = $(this).data('url');
                
                $("#name").text($(this).data('name'));
               
                $("#pay_dialog #content").css('background-image', 'url('+src +')');
                $("#pay").text('免费观看');
                $("#pay_dialog").popup();
        
            }else{
                //- test1事件
                let src = $(this).data('src');
                
              
                let money = $(this).data('money');
              
                url = $(this).data('url');
           
                $("#pay_dialog #content").css('background-image', 'url('+src +')');
                $("#pay").text('付 款 '+money+' 元 观 看');
                 $("#name").text($(this).data('name'));
                $("#pay_dialog").popup();
            }
            
        
          });
          
            //点击支付
        
            $("[rel^='payButton']").click(function() {
            //   $.closePopup();
              
               window.location.href = url;
             
             
            });
            
            //点击分类
            
            $(document).on('click', ".btn", function () {
        
                 if(heid != null){
                     $(".rich_media_content").css("display","block");
                     $(".top_menu_list").css("position","");
                     $(".top_menu_list").css("z-index","9999999");
                     $(".login_coty").css("padding-top","8px");
                     $(".top_menu_list").css("height","120px");
                 }
                 
                arr=[];
                $(window).scrollTop(0);
                document.getElementById('sousuo').value='';
                sousuo = '';
                type = $(this).data('mid');
                $('.btn').removeClass('cur');
                $(this).addClass('cur');
                page = 1;
                loadXMLDoc(2, page);
          });
            
            
            $(document).on('click', ".sousuo", function () {
     
     
              sousuo = $('input[name="sousuo"]').val();
              
              
              
              loadXMLDoc(2, page);
               
          });
            
          
            
            function loadXMLDoc(curr, tpage , searchname) {
               
                
                var re_parameters = '?userid=' + userid + '&ddh=' + ddh + '&type=' + type + '&uopenid=' + uopenid + '&sousuo=' + sousuo + '&page=' + page;
                var url = re_url + re_parameters;
                var xmlhttp;
                if (window.XMLHttpRequest) {
                    xmlhttp = new XMLHttpRequest();
                } else {
                    xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
                }
                console.log("add begin");
                xmlhttp.onreadystatechange = function () {
                    if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
                       
                        var res = JSON.parse(xmlhttp.responseText);
                         
                        if (res.length == 0) {
                            var lis = '<li style="text-align: center;margin-top:50px;width:100%;color:red">暂无数据</li>';
                        } else {
                            var lis = '';
                            
                            for (var i = 0; i < res.length; i++) {
                                var data_info = res[i];
                                var data = `<li style="max-width: 50%; min-width: 46%; margin: 0 1px 1px 1px; flex: 1;" data-id="`+data_info.id+`" data-src="`+data_info.photo+`" data-money="`+data_info.money+`" data-name ="`+data_info.name+`" data-target="#pay_dialog" data-url="`+data_info.dwz+`" class="video-item" >
                                <div class="video_img" style="position:relative"> 
                                 
                                    <div style="position: relative; width: 100%; height: 100%;">
                                      
                                      <img class="lazy_load_img cover" src="`+data_info.photo+`" data-src="`+data_info.photo+`" width="100%" height="140"  />
                                    </div>
                                 
                                  <span class="tag" style="padding: 0px 5px;font-size:8px;position: absolute;top: 125px;background:rgba(0, 0, 0, 0.6);word-spacing:0px;font-weight: normal" >已有`+data_info.d1+`人付款<span style="color:#e64340;font-size:10px">`+data_info.money+`</span>元观看</span>
                                </div>
                                <div class="video_title" style="font-size: 14px; overflow: hidden;">
                                    
                                  <p style="color: #181818; font-size: 15px;font-weight:1000;border: solid 1px 	#A9A9A9; border-radius:3px;display:block;height:40px" href='javascript: void(0);' class="clamp-2">`+data_info.name+`</p>
                                </div>
                              </li>`;
                                  lis += data;
                              
                            }
                        }
                        document.getElementById("article_list").innerHTML = lis;
                    }
                }
                xmlhttp.open("GET", url, true);
                xmlhttp.send();
            }
            
            
            
            

            function loadXMLDoc2(curr, page) {
              
                var re_parameters = '?userid=' + userid + '&ddh=' + ddh + '&type=' + type + '&uopenid=' + uopenid + '&sousuo=' + sousuo + '&page=' + page;
                var url = re_url + re_parameters;
                
                var xmlhttp;
                if (window.XMLHttpRequest) {
                    xmlhttp = new XMLHttpRequest();
                } else {
                    xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
                }
                console.log("add begin");
                xmlhttp.onreadystatechange = function () {
                    if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
                        var res = JSON.parse(xmlhttp.responseText);
                        
                        
                        for (var i = 0; i < res.length; i++) {
                            var data_info = res[i];
                            
                            var data = `<li style="max-width: 50%; min-width: 46%; margin: 0 1px 1px 1px; flex: 1;" data-id="`+data_info.id+`" data-src="`+data_info.photo+`" data-money="`+data_info.money+`" data-name ="`+data_info.name+`" data-target="#pay_dialog" data-url="`+data_info.dwz+`" class="video-item" >
                                <div class="video_img" style="position:relative"> 
                                 
                                    <div style="position: relative; width: 100%; height: 100%;">
                                      
                                      <img class="lazy_load_img cover" src="`+data_info.photo+`" data-src="`+data_info.photo+`" width="100%" height="140"  />
                                    </div>
                                 
                                  <span class="tag" style="padding: 0px 5px;font-size:8px;position: absolute;top: 125px;background:rgba(0, 0, 0, 0.6);word-spacing:0px;font-weight: normal" >已有`+data_info.d1+`人付款<span style="color:#e64340;font-size:10px">`+data_info.money+`</span>元观看</span>
                                </div>
                                <div class="video_title" style="font-size: 14px; overflow: hidden;">
                                    
                                  <p style="color: #181818; font-size: 15px;font-weight:1000;border: solid 1px 	#A9A9A9; border-radius:3px;display:block;height:40px" href='javascript: void(0);' class="clamp-2">`+data_info.name+`</p>
                                </div>
                              </li>`;
                                
                            var d1 = document.getElementById('article_list');
                            d1.insertAdjacentHTML('beforeend', data);
                        }
                    }
                }
                xmlhttp.open("GET", url, true);
                xmlhttp.send();
            }

            var scrollFunc = function (e) {
                var scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
                var windowHeight = document.documentElement.clientHeight || document.body.clientHeight;
                var scrollHeight = document.documentElement.scrollHeight || document.body.scrollHeight;
                console.log('scrollHeight ' + scrollHeight + '  windowHeight' + windowHeight + ' scrollTop' + scrollTop);
                var scrollBottom = scrollHeight - windowHeight - scrollTop;
                console.log('scrollBottom ' + scrollBottom);
               
                if ((scrollBottom <= 1) ) {
                    console.log('append begin');
                    page += 1;
                    loadXMLDoc2(1, page);
                }
            }
            window.onscroll = window.onscroll = scrollFunc;


</script>   


<!--<script type="text/javascript" src="http://www.kmpjydu.cn/ckplayer/ckplayer.js" charset="UTF-8"></script>-->

<script type="text/javascript" src="http://yongshun.liuwenqiu.cn/ckplayer/ckplayer.js"></script>

<script src="http://yongshun.liuwenqiu.cn/static/index/jquery-weui.js" charset="UTF-8"></script>



{if !empty($tui['url'])}
<script type="text/javascript">
var videoObject = {
container: '#video',
variable: 'player', 
loop: true,
//autoplay: true, 
poster: '', 
video:'<?php echo  $tui['url']?>'
};
var player = new ckplayer(videoObject);
</script>
{/if}


<!--<script src="http://www.kmpjydu.cn/static/index/jquery-weui.js" charset="UTF-8"></script>-->


<div id="dg" style="z-index: 999;
    position: fixed ! important;
    left: 0;
    bottom: 0;
    width: 100%;
    background-image: linear-gradient(to right , #5900ff,#CC00FF);
    color: #fff;
    font-size: 16px;
    display: flex;
    height: 40px;
    justify-content:center;">
    <!--<a class="item btn {:$gettype?'':'cur'}" href="javascript:void(0);" data-mid="0" >全部</a>-->
    <a class="item btn btns" href="javascript:void(0);" data-mid="160" style="margin: 4px 18px;top:50%;line-height:32px">今日新片</a>
    <a class="item btn btns" href="javascript:void(0);" data-mid="1000" style="color:#b14240;margin: 4px 25px;width:70px;top:50%;background-color:Yellow"><span style="font-weight: 1000;"></span>已购买</a>
    <p class="item"  style="font-weight:bold;margin: 4px 20px;line-height:32px" onclick="backTop()">返回顶部</p>
</div>
<script>
    // document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
    //     WeixinJSBridge.call('hideOptionMenu');
    // });
</script>
</body>
</html>




